Displays a prompt box that has a message, title bar caption, content with a default value, and calls back with the user input.
Syntax
'Declaration
Public Overloads Shared Sub Show( _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.Action(Of String,MessageBoxResult) _
)
'Usage
Dim message As System.String
Dim caption As System.String
Dim defaultValue As System.String
Dim callback As System.Action(Of String,MessageBoxResult)
C1PromptBox.Show(message, caption, defaultValue, callback)
public static void Show(
System.string ,
System.string ,
System.string ,
System.Action<string,MessageBoxResult>
)
Parameters
- message
- The text to display as a message.
- caption
- The title bar caption.
- defaultValue
- The default value of content.
- callback
- An System.Action`1 which is called with the user input.
See Also